package org.jamin.lending.service;

import org.jamin.lending.domain.entity.Auser;
import org.jamin.lending.domain.entity.SMSLog;
import org.jamin.lending.domain.entity.Template;
import org.jamin.lending.domain.form.manger.SMSLogForm;
import org.jamin.lending.domain.form.manger.TemplateForm;
import org.springframework.data.domain.Page;

/**
 * Created by xywen on 2016/9/9.
 */
public interface MessageService {

    void sendManagerMessage(Auser auser,String message);
    
    Page<Template> findTemplate(TemplateForm templateForm);

	void initMessageTemplate(String pahtname) throws Exception;
	
	Template getTemplateOne(String code);
	
	void saveTemplate(Template template);

    Page<SMSLog> findSMSLogList(SMSLogForm smsLogForm);
}
